package top.lshaci.learning.atguigu.interview3.spring.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * ServiceA
 *
 * @author lshaci
 * @since 1.0.0
 */
@Slf4j
@Component
//@Scope("prototype")
public class ServiceA {

    @Autowired
    private ServiceB serviceB;

//    public ServiceA(ServiceB serviceB) {
//        this.serviceB = serviceB;
//    }

    public ServiceA() {
        log.debug("Init ServiceA");
    }
}
